try:
    a,b=eval(input("请输入整数："))
    c=a/b
except NameError:
    print("输入的类型有误！")
except ZeroDivisionError:
    print("被除数不能为0!")
else:
    print(c)